package com.alks.entity.data.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@NoArgsConstructor
@ToString
@TableName("SD_USER")
public class SdUser {

    @ApiModelProperty("用户id")
    @TableId
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty("英文名字")
    @TableField("ENG_NAME")
    private String engName;

    @ApiModelProperty("中文名字")
    @TableField("CHI_NAME")
    private String chiName;

    @ApiModelProperty("公司ID")
    @TableField("COMPANY_ID")
    private String companyId;

    @ApiModelProperty("职务代码")
    @TableField("POS_ID")
    private String posId;

    @ApiModelProperty("密码")
    @TableField("PASSWORD")
    private String password;

    @ApiModelProperty("盐")
    @TableField("SALT")
    private String salt;

    @ApiModelProperty("最后登录时间")
    @TableField("LAST_LOGIN")
    private Date lastLogin;

    @ApiModelProperty("锁定状态 Y锁定 N正常 默认为空")
    @TableField("LOCK_STATUS")
    private String lockStatus;

    @ApiModelProperty("备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty("部门代码")
    @TableField("DEPT_NO")
    private String deptNo;

    @ApiModelProperty("领用部门")
    @TableField("DRAW_DEPT")
    private String drawDept;

    @TableField("CONTACT_MOBILE")
    private String contactMobile;

    @ApiModelProperty("工厂名")
    @TableField("FACTORY")
    private String factory;

    @ApiModelProperty("外网标记 N内网 Y非本地 默认为空")
    @TableField("NET_FLAG")
    private String netFlag;

    @ApiModelProperty("派工部门")
    @TableField("DISPATCH_DEPT")
    private String dispatchDept;

    @TableField("COMPANY_FLAG")
    private String companyFlag;
}
